package com.asclepio.web.controller;

import java.util.HashMap;
import java.util.Map;

import org.springframework.stereotype.Controller;
import java.security.Principal;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class HomeController {
	private Map<String, Object> homeMap() {
		Map<String, Object> map = new HashMap<String, Object>();
		return map;
	}
	
	@RequestMapping("home")
	public ModelAndView load(Principal principal) {		
		return new ModelAndView("home", homeMap());
	}
}
